<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>01手写Vue源码</title>
  </head>
  <body>
    <div id="app">
      <h1>vue的例子</h1>
      <p>{{msg}}</p>
      <p>{{stu.name}}</p>
    </div>
    <script src="./myJS/myVue08.js"></script>
    <script>
      const vm = new Vue({
        el: '#app',
        data: {
          msg: 'hello',
          stu: {
            name: 'jack',
            age: 10,
          },
        },
      })
      console.log(vm)
    </script>
  </body>
</html>
